<div ng-init="dvm.init()">
  <div class="ngdialog-message">
    <h3>上传财物图片</h3>
    <form>
      <div class="form-group">
        <label class="btn btn-primary btn-block" for="imageFile">选择上传的财物图片...</label>
        <input type="file" class="sr-only" id="imageFile" accept=".jpg,.jpeg,.png">
      </div>
    </form>
    <div class="container-fluid container-image hidden">
      <div class="row">
        <div class="col-md-8">
          <div class="thumbnail">
            <img id="crop-image" alt="Loading..." src="">
          </div>
        </div>
        <div class="col-md-4">
          <div class="thumbnail">
            <div class="preview"></div>
            <div class="caption text-center">编辑图片预览</div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="ngdialog-buttons">
    <button type="button" class="ngdialog-button ngdialog-button-secondary" ng-click="dvm.close()">取 消</button>
    <button type="submit" class="ngdialog-button ngdialog-button-primary" ng-click="dvm.save()">确 定</button>
    <button type="button" class="ngdialog-button ngdialog-button-warning" ng-disabled="dvm.imageName == ''"
        ng-click="dvm.rotate()">旋转</button>
  </div>
</div>
